#include<stdio.h>
int main()
{
	double sum = 0,t;
	int i;
	while(i<=20)
	{
		t = i / (3 * i + 3);
		sum = sum + t;
		i++;
	}
	printf("%.6lf", sum);
	
	return 0;
	
}
